str=eval(input())
for i in range(1,str+1,2):
    print("{0:^{1}}".format('*'*i,str))